package org.example.travel.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("scenic_log")
public class ScenicLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Long spotId;
    private Byte actionType;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}